package com.dingreading.cloud.mall.mapper;

import com.dingreading.cloud.mall.dto.CategoryDto;
import com.dingreading.cloud.mall.entity.GoodsCategory;
import com.mybatisflex.core.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 映射层。
 *
 * @author Administrator
 * @since 2023-11-22
 */
public interface GoodsCategoryMapper extends BaseMapper<GoodsCategory> {

    List<CategoryDto> getCategoryByGoodsPowerV5(
            @Param("easyProductJoinType") boolean easyProductJoinType,
            @Param("operationType") Integer operationType,
            @Param("subjectTypeSql") String subjectTypeSql,
            @Param("cooperationTypeSql") String cooperationTypeSql, @Param("operationTypeSql") String operationTypeSql
    );

}
